/*
 * @Date: 2023-08-07 19:04:42
 * @LastEditors: lyx
 * @LastEditTime: 2023-08-11 09:49:43
 * @FilePath: \sup-mini-app\src\utils\weather.ts
 * @Description: 天气对照 https://lbs.amap.com/api/webservice/guide/tools/weather-code/
 */

import QingtianPng from "../assets/weather/icon_qingtian.png";
import icon_duoyun from "../assets/weather/icon_duoyun.png";
import icon_yintian from "../assets/weather/icon_yintian.png";
import icon_wu from "../assets/weather/icon_wu.png";
import icon_yangsha from "../assets/weather/icon_yangsha.png";
import icon_shachenbao from "../assets/weather/icon_shachenbao.png";
import icon_fuchen from "../assets/weather/icon_fuchen.png";
import icon_zhenyu from "../assets/weather/icon_zhenyu.png";
import icon_leizhenyu from "../assets/weather/icon_leizhenyu.png";
import icon_xiaoyu from "../assets/weather/icon_xiaoyu.png";
import icon_zhongyu from "../assets/weather/icon_zhongyu.png";
import icon_dayu from "../assets/weather/icon_dayu.png";
import icon_baoyu from "../assets/weather/icon_baoyu.png";
import icon_zhenxue from "../assets/weather/icon_zhenxue.png";
import icon_xiaoxue from "../assets/weather/icon_xiaoxue.png";
import icon_zhongxue from "../assets/weather/icon_zhongxue.png";
import icon_daxue from "../assets/weather/icon_daxue.png";
import icon_baoxue from "../assets/weather/icon_baoxue.png";
import icon_wendu_wu from "../assets/weather/icon_wendu_wu.png";
import icon_wendu_re from "../assets/weather/icon_wendu_re.png";
import icon_wendu_len from "../assets/weather/icon_wendu_len.png";
import icon_wushuju from "../assets/weather/icon_wushuju.png";

// 天气现象表
export const WEATHER_PHENOMENA = {
  晴: QingtianPng,
  少云: icon_duoyun,
  晴间多云: icon_duoyun,
  多云: icon_duoyun,
  阴: icon_yintian,
  有风: icon_wu,
  平静: icon_yintian,
  微风: icon_wu,
  和风: icon_wu,
  清风: icon_wu,
  "强风/劲风": icon_yangsha,
  疾风: icon_yangsha,
  大风: icon_shachenbao,
  烈风: icon_shachenbao,
  风暴: icon_shachenbao,
  狂爆风: icon_shachenbao,
  飓风: icon_shachenbao,
  热带风暴: icon_shachenbao,
  霾: icon_fuchen,
  中度霾: icon_fuchen,
  重度霾: icon_fuchen,
  严重霾: icon_fuchen,

  阵雨: icon_zhenyu,
  雷阵雨: icon_leizhenyu,
  雷阵雨并伴有冰雹: icon_leizhenyu,
  小雨: icon_xiaoyu,
  中雨: icon_zhongyu,
  大雨: icon_dayu,
  暴雨: icon_baoyu,
  大暴雨: icon_baoyu,
  特大暴雨: icon_baoyu,
  强阵雨: icon_baoyu,
  强雷阵雨: icon_baoyu,
  极端降雨: icon_baoyu,
  "毛毛雨/细雨": icon_zhenyu,
  雨: icon_zhenyu,
  "小雨-中雨": icon_zhongyu,
  "中雨-大雨": icon_dayu,
  "大雨-暴雨": icon_baoyu,
  "暴雨-大暴雨": icon_baoyu,
  "大暴雨-特大暴雨": icon_baoyu,
  雨雪天气: icon_zhenxue,
  雨夹雪: icon_zhenxue,
  阵雨夹雪: icon_zhenxue,
  冻雨: icon_zhenxue,

  雪: icon_zhenxue,
  阵雪: icon_zhenxue,
  小雪: icon_xiaoxue,
  中雪: icon_zhongxue,
  大雪: icon_daxue,
  暴雪: icon_baoxue,
  "小雪-中雪": icon_zhongxue,
  "中雪-大雪": icon_daxue,
  "大雪-暴雪": icon_baoxue,
  浮尘: icon_fuchen,
  扬沙: icon_fuchen,
  沙尘暴: icon_yangsha,
  强沙尘暴: icon_yangsha,
  龙卷风: icon_shachenbao,
  雾: icon_wendu_wu,
  浓雾: icon_wendu_wu,
  强浓雾: icon_wendu_wu,
  轻雾: icon_wendu_wu,
  大雾: icon_wendu_wu,
  特强浓雾: icon_wendu_wu,
  热: icon_wendu_re,
  冷: icon_wendu_len,
  未知: icon_wushuju,
};
